3.70 \(\int \frac{x^2 \left (d+e x^2+f x^4\right )}{\left (a+b x^2+c x^4\right )^2} \, dx\)

Optimal. Leaf size=362 \[ -\frac{x \left (x^2 \left (-2 a c f+b^2 f-b c e+2 c^2 d\right )+a b f-2 a c e+b c d\right )}{2 c \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right ) \left (\frac{-4 b c (2 a f+c d)+4 a c^2 e+b^3 f+b^2 c e}{c \sqrt{b^2-4 a c}}+6 a f-\frac{b^2 f}{c}-b e+2 c d\right )}{2 \sqrt{2} \sqrt{c} \left (b^2-4 a c\right ) \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right ) \left (-\frac{-4 b c (2 a f+c d)+4 a c^2 e+b^3 f+b^2 c e}{c \sqrt{b^2-4 a c}}+6 a f-\frac{b^2 f}{c}-b e+2 c d\right )}{2 \sqrt{2} \sqrt{c} \left (b^2-4 a c\right ) \sqrt{\sqrt{b^2-4 a c}+b}} \]

[Out]

-(x*(b*c*d - 2*a*c*e + a*b*f + (2*c^2*d - b*c*e + b^2*f - 2*a*c*f)*x^2))/(2*c*(b
^2 - 4*a*c)*(a + b*x^2 + c*x^4)) - ((2*c*d - b*e + 6*a*f - (b^2*f)/c + (b^2*c*e
+ 4*a*c^2*e + b^3*f - 4*b*c*(c*d + 2*a*f))/(c*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2
]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[c]*(b^2 - 4*a*c)*Sqrt
[b - Sqrt[b^2 - 4*a*c]]) - ((2*c*d - b*e + 6*a*f - (b^2*f)/c - (b^2*c*e + 4*a*c^
2*e + b^3*f - 4*b*c*(c*d + 2*a*f))/(c*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2]*Sqrt[c
]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[c]*(b^2 - 4*a*c)*Sqrt[b + Sqr
t[b^2 - 4*a*c]])

_______________________________________________________________________________________

Rubi [A]  time = 5.50739, antiderivative size = 362, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ -\frac{x \left (x^2 \left (-2 a c f+b^2 f-b c e+2 c^2 d\right )+a b f-2 a c e+b c d\right )}{2 c \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right ) \left (\frac{-4 b c (2 a f+c d)+4 a c^2 e+b^3 f+b^2 c e}{c \sqrt{b^2-4 a c}}+6 a f-\frac{b^2 f}{c}-b e+2 c d\right )}{2 \sqrt{2} \sqrt{c} \left (b^2-4 a c\right ) \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right ) \left (-\frac{-4 b c (2 a f+c d)+4 a c^2 e+b^3 f+b^2 c e}{c \sqrt{b^2-4 a c}}+6 a f-\frac{b^2 f}{c}-b e+2 c d\right )}{2 \sqrt{2} \sqrt{c} \left (b^2-4 a c\right ) \sqrt{\sqrt{b^2-4 a c}+b}} \]

Antiderivative was successfully verified.

[In]  Int[(x^2*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4)^2,x]

[Out]

-(x*(b*c*d - 2*a*c*e + a*b*f + (2*c^2*d - b*c*e + b^2*f - 2*a*c*f)*x^2))/(2*c*(b
^2 - 4*a*c)*(a + b*x^2 + c*x^4)) - ((2*c*d - b*e + 6*a*f - (b^2*f)/c + (b^2*c*e
+ 4*a*c^2*e + b^3*f - 4*b*c*(c*d + 2*a*f))/(c*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2
]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[c]*(b^2 - 4*a*c)*Sqrt
[b - Sqrt[b^2 - 4*a*c]]) - ((2*c*d - b*e + 6*a*f - (b^2*f)/c - (b^2*c*e + 4*a*c^
2*e + b^3*f - 4*b*c*(c*d + 2*a*f))/(c*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2]*Sqrt[c
]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*Sqrt[c]*(b^2 - 4*a*c)*Sqrt[b + Sqr
t[b^2 - 4*a*c]])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 75.0333, size = 374, normalized size = 1.03 \[ - \frac{x \left (a b f - 2 a c e + b c d + x^{2} \left (- 2 a c f + b^{2} f - b c e + 2 c^{2} d\right )\right )}{2 c \left (- 4 a c + b^{2}\right ) \left (a + b x^{2} + c x^{4}\right )} + \frac{\sqrt{2} \left (b \left (- 6 a c f + b^{2} f + b c e - 2 c^{2} d\right ) - 2 c \left (a b f - 2 a c e + b c d\right ) + \sqrt{- 4 a c + b^{2}} \left (- 6 a c f + b^{2} f + b c e - 2 c^{2} d\right )\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{4 c^{\frac{3}{2}} \sqrt{b + \sqrt{- 4 a c + b^{2}}} \left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} - \frac{\sqrt{2} \left (b \left (- 6 a c f + b^{2} f + b c e - 2 c^{2} d\right ) - 2 c \left (a b f - 2 a c e + b c d\right ) - \sqrt{- 4 a c + b^{2}} \left (- 6 a c f + b^{2} f + b c e - 2 c^{2} d\right )\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{4 c^{\frac{3}{2}} \sqrt{b - \sqrt{- 4 a c + b^{2}}} \left (- 4 a c + b^{2}\right )^{\frac{3}{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2*(f*x**4+e*x**2+d)/(c*x**4+b*x**2+a)**2,x)

[Out]

-x*(a*b*f - 2*a*c*e + b*c*d + x**2*(-2*a*c*f + b**2*f - b*c*e + 2*c**2*d))/(2*c*
(-4*a*c + b**2)*(a + b*x**2 + c*x**4)) + sqrt(2)*(b*(-6*a*c*f + b**2*f + b*c*e -
 2*c**2*d) - 2*c*(a*b*f - 2*a*c*e + b*c*d) + sqrt(-4*a*c + b**2)*(-6*a*c*f + b**
2*f + b*c*e - 2*c**2*d))*atan(sqrt(2)*sqrt(c)*x/sqrt(b + sqrt(-4*a*c + b**2)))/(
4*c**(3/2)*sqrt(b + sqrt(-4*a*c + b**2))*(-4*a*c + b**2)**(3/2)) - sqrt(2)*(b*(-
6*a*c*f + b**2*f + b*c*e - 2*c**2*d) - 2*c*(a*b*f - 2*a*c*e + b*c*d) - sqrt(-4*a
*c + b**2)*(-6*a*c*f + b**2*f + b*c*e - 2*c**2*d))*atan(sqrt(2)*sqrt(c)*x/sqrt(b
 - sqrt(-4*a*c + b**2)))/(4*c**(3/2)*sqrt(b - sqrt(-4*a*c + b**2))*(-4*a*c + b**
2)**(3/2))

_______________________________________________________________________________________

Mathematica [A]  time = 2.36313, size = 414, normalized size = 1.14 \[ \frac{-\frac{2 \sqrt{c} x \left (a b f-2 a c \left (e+f x^2\right )+b^2 f x^2+b c \left (d-e x^2\right )+2 c^2 d x^2\right )}{\left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac{\sqrt{2} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right ) \left (b c \left (e \sqrt{b^2-4 a c}+8 a f+4 c d\right )-2 c \left (c d \sqrt{b^2-4 a c}+3 a f \sqrt{b^2-4 a c}+2 a c e\right )+b^2 \left (f \sqrt{b^2-4 a c}-c e\right )+b^3 (-f)\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt{b-\sqrt{b^2-4 a c}}}+\frac{\sqrt{2} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right ) \left (b c \left (e \sqrt{b^2-4 a c}-8 a f-4 c d\right )-2 c \left (c d \sqrt{b^2-4 a c}+3 a f \sqrt{b^2-4 a c}-2 a c e\right )+b^2 \left (f \sqrt{b^2-4 a c}+c e\right )+b^3 f\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt{\sqrt{b^2-4 a c}+b}}}{4 c^{3/2}} \]

Antiderivative was successfully verified.

[In]  Integrate[(x^2*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4)^2,x]

[Out]

((-2*Sqrt[c]*x*(a*b*f + 2*c^2*d*x^2 + b^2*f*x^2 + b*c*(d - e*x^2) - 2*a*c*(e + f
*x^2)))/((b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (Sqrt[2]*(-(b^3*f) + b*c*(4*c*d +
Sqrt[b^2 - 4*a*c]*e + 8*a*f) + b^2*(-(c*e) + Sqrt[b^2 - 4*a*c]*f) - 2*c*(c*Sqrt[
b^2 - 4*a*c]*d + 2*a*c*e + 3*a*Sqrt[b^2 - 4*a*c]*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/
Sqrt[b - Sqrt[b^2 - 4*a*c]]])/((b^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]])
+ (Sqrt[2]*(b^3*f + b*c*(-4*c*d + Sqrt[b^2 - 4*a*c]*e - 8*a*f) + b^2*(c*e + Sqrt
[b^2 - 4*a*c]*f) - 2*c*(c*Sqrt[b^2 - 4*a*c]*d - 2*a*c*e + 3*a*Sqrt[b^2 - 4*a*c]*
f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/((b^2 - 4*a*c)^(3/2
)*Sqrt[b + Sqrt[b^2 - 4*a*c]]))/(4*c^(3/2))

_______________________________________________________________________________________

Maple [B]  time = 0.079, size = 5528, normalized size = 15.3 \[ \text{output too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a)^2,x)

[Out]

result too large to display

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ -\frac{{\left (2 \, c^{2} d - b c e +{\left (b^{2} - 2 \, a c\right )} f\right )} x^{3} +{\left (b c d - 2 \, a c e + a b f\right )} x}{2 \,{\left ({\left (b^{2} c^{2} - 4 \, a c^{3}\right )} x^{4} + a b^{2} c - 4 \, a^{2} c^{2} +{\left (b^{3} c - 4 \, a b c^{2}\right )} x^{2}\right )}} - \frac{-\int \frac{b c d - 2 \, a c e + a b f -{\left (2 \, c^{2} d - b c e -{\left (b^{2} - 6 \, a c\right )} f\right )} x^{2}}{c x^{4} + b x^{2} + a}\,{d x}}{2 \,{\left (b^{2} c - 4 \, a c^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^4 + e*x^2 + d)*x^2/(c*x^4 + b*x^2 + a)^2,x, algorithm="maxima")

[Out]

-1/2*((2*c^2*d - b*c*e + (b^2 - 2*a*c)*f)*x^3 + (b*c*d - 2*a*c*e + a*b*f)*x)/((b
^2*c^2 - 4*a*c^3)*x^4 + a*b^2*c - 4*a^2*c^2 + (b^3*c - 4*a*b*c^2)*x^2) - 1/2*int
egrate(-(b*c*d - 2*a*c*e + a*b*f - (2*c^2*d - b*c*e - (b^2 - 6*a*c)*f)*x^2)/(c*x
^4 + b*x^2 + a), x)/(b^2*c - 4*a*c^2)

_______________________________________________________________________________________

Fricas [A]  time = 5.47541, size = 12084, normalized size = 33.38 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[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5*d^2*e^2 + a
^2*c^4*e^4 + (a^2*b^4 - 18*a^3*b^2*c + 81*a^4*c^2)*f^4 - 4*(3*(a^2*b^2*c^2 - 9*a
^3*c^3)*d - (a^2*b^3*c - 9*a^3*b*c^2)*e)*f^3 - 2*(12*a^2*b*c^3*d*e + (a*b^2*c^3
- 27*a^2*c^4)*d^2 - 3*(a^2*b^2*c^2 - 3*a^3*c^3)*e^2)*f^2 + 4*(3*a*c^5*d^3 - a*b*
c^4*d^2*e - 3*a^2*c^4*d*e^2 + a^2*b*c^3*e^3)*f)/(a^2*b^6*c^6 - 12*a^3*b^4*c^7 +
48*a^4*b^2*c^8 - 64*a^5*c^9)))/(a*b^6*c^3 - 12*a^2*b^4*c^4 + 48*a^3*b^2*c^5 - 64
*a^4*c^6))) + 2*(b*c*d - 2*a*c*e + a*b*f)*x)/((b^2*c^2 - 4*a*c^3)*x^4 + a*b^2*c
- 4*a^2*c^2 + (b^3*c - 4*a*b*c^2)*x^2)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2*(f*x**4+e*x**2+d)/(c*x**4+b*x**2+a)**2,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^4 + e*x^2 + d)*x^2/(c*x^4 + b*x^2 + a)^2,x, algorithm="giac")

[Out]

Exception raised: TypeError